package com.scau.ums.service;

import com.scau.ums.model.Maintainer;
import com.scau.ums.model.Student;
import com.scau.ums.model.Teacher;

import java.util.List;
import java.util.Map;

/**
 * @author xfy
 * @version 1.0
 * @date 2019/8/2 13:53
 */
public interface ListUserService {
    final int pageSize = 8;//每页显示的数据量
    public List<Student> getStudentCurPageRecords(int curPage,String searchKeyword);
    public List<Teacher> getTeacherCurPageRecords(int curPage,String searchKeyword);
    public List<Map<String,Object>> getMaintainerCurPageRecords(int curPage,String searchKeyword);
    public  int getStudentPageSum(String searchKeyword);
    public  int getTeacherPageSum(String searchKeyword);
    public  int getMaintainerPageSum(String searchKeyword);

}
